-- GENERATED SPELL FOR [Terenthis] --


function spell0_3693(pUnit, Event) --@Form of the Moonstalker,n/a--
pUnit:FullCastSpellOnTarget(6236,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3693', 573, 1)
end

function Sorts_3693(pUnit, Event)
local choix_sorts_3693 = math.random(0, 0)
if choix_sorts_3693 == 0 then
pUnit:RegisterEvent('spell0_3693', 1, 1)
end
end

function mob3693_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3693', math.random(1500, 3000), 1)
end

function mob3693_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3693_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3693_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3693, 1, 'mob3693_Action')
RegisterUnitEvent(3693, 2, 'mob3693_Leave')
RegisterUnitEvent(3693, 3, 'mob3693_Kill')
RegisterUnitEvent(3693, 4, 'mob3693_Die')
